package com.csun.cmny.provider.model.dto.yingshi;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2021/10/14 16:15
 * @Description: TODO
 */
@Data
public class YingShiChannelDto {

    /**
     * 通道id
     */
    private Long id;

    /**
     * 摄像头id
     */
    @NotNull(message = "ying.shi.id.null")
    private Long deviceId;

    /**
     * 摄像头通道编号
     */
    @NotNull(message = "ying.shi.channel.no.null")
    private Integer channelNo;

    /**
     * 摄像头通道名称
     */
    @NotNull(message = "ying.shi.channel.name.null")
    @NotEmpty(message = "ying.shi.channel.name.null")
    private String channelName;

    /**
     * 摄像头通道位置
     */
    @NotNull(message = "ying.shi.channel.location.null")
    @NotEmpty(message = "ying.shi.channel.location.null")
    private String channelLocation;

}
